﻿using System.Collections.Generic;
//
namespace PerceptiveMCAPI.Types
{
   public class campaignAnalyticsResults
   {
      public int visits { get; set; }
      public int pages { get; set; }
      public int new_visits { get; set; }
      public int bounces { get; set; }
      public double time_on_site { get; set; }
      public int goal_conversions { get; set; }
      public double goal_value { get; set; }
      public double revenue { get; set; }
      public int transactions { get; set; }
      public int ecomm_conversions { get; set; }
      public Dictionary<string, int> goals { get; set; }

      public campaignAnalyticsResults()
      {
         goals = new Dictionary<string, int>();
      }

      public override string ToString()
      {
         return string.Format( "Visits: {0}, Pages:{1}, Trans:{2}, Revenue:{3}",
            visits, pages, transactions, revenue );
      }
   }
}
